package com.example.dnf.controller;

import lombok.Data;

@Data
public class Epoint extends Point{
    private int lastIndex;

    public int getRuleIndex(){
        if (lastIndex != 0){
            return lastIndex;
        }
        return index;
    }
    public Epoint(int index) {
        super(index);
    }
}
